<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
    <meta http-equiv="Cache-Control" content="no-siteapp" />

    <script type="text/javascript" src="/public/jquery/jquery-3.0.0.min.js"></script>
    <script>
        $(function () {
            print();
        })
    </script>
    <style>
        body {
            font-family: SimSun;
            width: 300px;
            font-weight: 600;
        }

        table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 25px;
        }

        tr {
            width: 100px;
        }


        .print-table-title {
            font-weight: bold
        }

        .print-title {
            text-align: left;
        }

        .print-content {
            word-break: break-all;
            word-wrap: break-word;
            overflow: hidden;
            text-overflow: ellipsis;
        }

    </style>
    <title>订单打印</title>
</head>
<body>
<div class="print-title" style="font-size: 22px;text-align: center">
    飞氧星球
</div>
<table  cellspacing="0px" style="font-size:18px;text-align: left;">
    <tr>
        <td style="width: 35%">订单编号:</td>
        <td style="width: 65%">${order?.orderNumber}</td>
    </tr>
    <tr>
        <td style="width: 35%">第三方单号:</td>
        <td style="width: 65%">${order?.thirdPartyNumber == null ? order?.orderNumber : order?.thirdPartyNumber}</td>
    </tr>
    <tr>
        <td style="width: 35%">订单类型:</td>
        <td style="width: 65%">&{'GoodsType.' + order?.goodsType}</td>
    </tr>
    <tr>
        <td style="width: 35%">订单金额:</td>
        <td style="width: 65%">${order?.amount}</td>
    </tr>
    <tr>
        <td style="width: 35%">供应商:</td>
        <td style="width: 65%">${order?.supplier?.name}</td>
    </tr>
    <tr>
        <td style="width: 35%">操作员:</td>
        <td style="width: 65%">${order?.creator?.name}</td>
    </tr>
    <tr>
        <td style="width: 35%">支付时间:</td>
        <td style="width: 65%">${order?.createdAt?.format('yyyy-MM-dd HH:mm:ss')}</td>
    </tr>
    <tr>
        <td style="width: 35%">打印时间:</td>
        <td style="width: 65%">${new Date()?.format('yyyy-MM-dd HH:mm:ss')}</td>
    </tr>

</table>
</body>
</html>


